package cn.school.educational.dao;

import cn.school.educational.entity.Subject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 科目Dao
 * */
public interface SubjectDao extends BaseMapper<Subject> {
    List<Subject> listByClassId(Map<String, Object> para);
    /**
     * @param subject
     * @return
     */
    int insertSub(@Param("subject") Subject subject);
}
